﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucDanhSachNguoiDung.ascx.cs"
    Inherits="STT.Admin.WebForms.ucDanhSachNguoiDung" %>

<div class="widget-box  widget-box-right">
    <div class="widget-title">
        <span class="icon">
            <i class="icon-th-list"></i>
        </span>
        <h5>Người dùng online</h5>
        <span class="icon tip-left" data-original-title="Gửi tin nhắn tới tất cả quản trị" style="float: right" id="send-msg-all">
            <img src="../../img/allusers.png" style="margin-top: -5px;" />
        </span>
    </div>
    <div class="chat-users panel-right2">
        <div class="panel-content nopadding">
            <ul class="contact-list" id="contact-list">
                <asp:ListView ID="lvDanhSachManager" runat="server">
                    <ItemTemplate>
                        <li id="<%# Eval("TenDN").ToString().TrimEnd() %>">
                            <a href="#" data-original-title="<%# "Đơn vị:  "+ Eval("TenDonVi").ToString().TrimEnd() %>"
                                class="tip-bottom">
                                <img class="img-user" alt="img" src="../../Uploads/Avatar/<%# Eval("Anh").ToString().Trim()==""? "avatar-default.jpg" : Eval("Anh").ToString().Trim()%>" />
                                <span class="name-user"><%# Eval("TenNguoiDung").ToString().TrimEnd() %></span>
                            </a>
                        </li>
                    </ItemTemplate>
                </asp:ListView>
            </ul>
        </div>
    </div>
</div>

<div class="widget-box">
    <div class="widget-title">
        <span class="icon"><i class="icon icon-comment"></i></span>
        <h5>Tin nhắn</h5>
    </div>
    <div class="widget-content nopadding">
        <ul class="activity-list">
            <li><a href="../Admin/Default.aspx?idpage=tnm">
                <i class="icon-envelope"></i>
                <strong>Tin nhắn mới</strong> <strong class="label label-important">
                    <asp:Literal ID="txtSoLuong" runat="server"></asp:Literal></strong>
            </a></li>
            <li><a href="../Admin/Default.aspx?idpage=qltn">
                <i class="icon-share-alt"></i>
                <strong>Quản lý tin nhắn</strong>
            </a></li>
        </ul>
    </div>
</div>
<asp:HiddenField ID="txtMaHV" runat="server" />

<audio id="mysoundclip" preload="auto">
    <source src="../../Uploads/Sound/Pling-KevanGC-1485374730.mp3" />
</audio>

<script>
    TenDN = "<%=Session["TenDN"]%>";
    TenNguoiDung = "<%=Session["TenNguoiDung"]%>";
    Anh = "<%= Session["Anh"].ToString().TrimEnd() ==""?"avatar-default.jpg":Session["Anh"] %>";
    QuyenDN = "<%= Session["QuyenDN"] %>";
</script>

<style>
    .ten-don-vi {
        font-size: 9px !important;
        display: block;
        /*vertical-align:middle;*/
        margin-left: 38px;
        /*float:right*/
    }
</style>



